package com.rmv.ums.condition;

import javax.servlet.http.HttpServletRequest;

import org.apache.log4j.Logger;

public class QueryRegExCondition extends RegExCondition {

	private static final Logger logger = Logger.getLogger(QueryRegExCondition.class);

	public String getValueToCheck(HttpServletRequest request) {
		String query = request.getQueryString();
		if (logger.isDebugEnabled())
			logger.debug("value(query) to check on regex condition:" + query);
		return query;
	}

}
